#pragma once
#include<stdio.h>
#include<stdlib.h>
typedef int SQElemType;
typedef struct SqList
{
	SQElemType* arr;
	int size;
	int capacity;
}SL;

void SqListInit(SL* ps);
void SqListBack(SL* ps, SQElemType x);
void SqListFront(SL* ps, SQElemType x);
void PopFront(SL* ps);
void PopBack(SL* ps);
void SqListInsert(SL* ps, int pos, SQElemType x);
void SqListErase(SL* ps, int pos, SQElemType x);
void SqListDestroy(SL* ps);
int SqListFind(SL* ps, SQElemType x);
void SqListPrint(SL ps);